package com.project.weather.service;

import com.project.weather.common.AResultCode;
import com.project.weather.common.ResultMap;
import com.project.weather.pojo.api.WeatherLiveResponsePojo;
import com.project.weather.pojo.api.WeatherRequestPojo;
import com.project.weather.pojo.api.WeatherSevendaysResponsePojo;

/**
 *<p>Title:UserService.java</p>
 *<p>Description:查询天气Service</p>
 *@author xxx
 *@version 1.0
 *@Automatically generate by Coder in 2021-12-21 16:07
 */
public interface WeatherService {
    /**
     *<b>Summary: 查询当天天气</b>
     * @param bean
     * @return
     */
    ResultMap<AResultCode, WeatherLiveResponsePojo> searchLive(WeatherRequestPojo bean);

    /**
     *<b>Summary: 查询未来7天天气</b>
     * @param bean
     * @return
     */
    ResultMap<AResultCode, WeatherSevendaysResponsePojo> searchSevenDays(WeatherRequestPojo bean);
}
